HTMLify
style.css
Views: 31 | Author: cody
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 | body{ background-color: red; padding: 0; margin: 0; height: 100vh; width:100vw; display:flex; align-items: center; justify-content: center; } .loader{ -webkit-perspective:700px; perspective: 700px; } .loader>span{ font-size: 130px; font-family: "franklin gothic medium",sans-serif; display: inline-block; animation:flip 2.6s infinite linear; transform-origin:0 70%; transform-style:preserve-3d; -webkit-transform-style:preserve-3d; } @keyframes flip{ 35%{ transform: rotateX(360deg); } 100%{ transform: rotatex(360deg); } } .loader>span:nth-child(even){ color:white; } .loader>span:nth-child(2){ animation-delay: 0.3s; } .loader>span:nth-child(3){ animation-delay: 0.6s; } .loader>span:nth-child(4){ animation-delay: 0.9s; } .loader>span:nth-child(5){ animation-delay: 1.2s; } .loader>span:nth-child(6){ animation-delay: 1.5s } .loader>span:nth-child(7){ animation-delay: 1.8s } |